using System;
using System.Runtime.Serialization;

namespace SharedObjects
{
	[DataContract]
	public class ChatMessage
	{
		[DataMember]
		public ulong SystemId { get; set; }
		[DataMember]
		public string Sender { get; set; }
		[DataMember]
		public string Message { get; set; }
		[DataMember]
		public DateTime Timestamp { get; set; }
	}

	public class ChatEventArgs : EventArgs
	{
		public ChatMessage ChatMessage { get; set; }
	}
}